<?php

namespace Collectif\AdminBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;

class DomaineForm extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {  	        
		$builder->add('actif', 'checkbox', array('required' => false));
        $builder->add('nom');
        //$builder->add('titrePage');
        //$builder->add('description', 'textarea', array('attr' => array('class' => 'ckeditor')));
		$builder->add('description', 'textarea');
        $builder->add('ordre', 'text');
		$builder->add('file');
    }
	
	public function getName()
	{
		return 'domaine';
	}
}